Polynomial Evaluation
- Function: double gsl_poly_eval (const double c[], const int len, const double x)
-
This function evaluates the polynomial
c[0] + c[1] x + c[2] x^2 + \dots + c[len-1] x^{len-1} using
Horner's method for stability. The function is inlined when possible.